home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gSound
- if gSound = 1 then
- set the blend of sprite the clickOn to 70
- updateStage()
- set gSound to 0
- if the type of sprite 4 = 16 then
- set the movieRate of sprite 4 to 0
- set the movieTime of sprite 4 to 0
- set the sound of cast the castNum of sprite 4 to 1
- set the volume of sprite 4 to 200
- end if
- set the soundEnabled to gSound
- else
- set the blend of sprite the clickOn to 100
- updateStage()
- set gSound to 1
- set the soundEnabled to gSound
- if the type of sprite 4 = 16 then
- set the sound of cast the castNum of sprite 4 to 1
- set the volume of sprite 4 to 200
- updateStage()
- end if
- end if
- end
-